import thenFs from 'then-fs'

let promiseArray = [
    thenFs.readFile('./1.txt','utf8'),
    thenFs.readFile('./2.txt','utf8'),
    thenFs.readFile('./3.txt','utf8')
]
Promise.race(promiseArray).then(result => {
    console.log(result)//任意一个先执行完成，则调用then
})
